import Chat from '../src/chat'
import except from '@jest/globals'

test('chat', () => {
    const chat = new Chat({
        user_id: 'user_id',
        user_avatar: 'user_avatar',
        user_name: 'user_name',
        assistant_id: 'assistant_id',
        assistant_avatar: 'assistant_avatar',
        assistant_name: 'assistant_name',
        room_id: 'room_id'
    })
    expect(chat.user_id).toBe('user_id')
    expect(chat.user_avatar).toBe('user_avatar')
    expect(chat.user_name).toBe('user_name')
    expect(chat.assistant_id).toBe('assistant_id')
    expect(chat.assistant_avatar).toBe('assistant_avatar')
    expect(chat.assistant_name).toBe('assistant_name')
    expect(chat.room_id).toBe('room_id')
})